deleting frontend logic