removed stdout function and replaced it with default python3 print