added prints for testing
fixed output but my print is still jacked up