check types/values in some built-in functions
fix return type of select
make sure to return false from road/zone
pass env into method invocations
define a couple of convenience functions