added ability to handle multiple operations in one line