register bank working