finished basic pay bill functionality