printing function shit working