improving the frontend