simplify with double return