coding: added debugging and began general printing