basic front-end working