cleaned up passed data