Version 11

Fixed null pointer exception + added print statements