Some functions in frontend added