making the frontend dynamic