added simplify functions for division