let as function