added logging. Added deposit option