works now, removed all prints