Dostoevsky had to write very quickly to finish both The Gambler and Crime and Punishment .
Dostoevsky had to race against time , in order to finish on time both The Gambler and Crime and Punishment .