added front functionality