param assert guard clause; better comments