add subtract front end