some error handling
fix massive fail
...how did _that_ get there.
do you know what a functoin is?