added lib stdio.h for puts