yowza. also pass arrays straight into p.cql calls.
Fill in remaining function bodies w00t