How banks learnt to play the system