allows two operations in one input