changed print function, added usage description to print