implemented register income feature

Formatting fix