Cast to int.
Remove debugging code.
Further work on account system