removed unused requires and function