Removing printout
working version
Working and debugged preliminary version