cleaned up frontend