Changed proc call from behaving as a statement to a expression