added trick printing function
made printing a lot prettier