frontend class