move head command into parenthesis