changed a few function names; prints