modifies frontend to work