print => print-line
nil => null
fixed apply
filter: error checking