function works! wasn't calling it, d'oh