Implemented basic printing