Removed system.out print commands for testing