styling and cleanup