started using printf