Fixed a bug. Added functionality. Tested through 2-chainz