modified frontend part and output