gettin a lil crazy, testing, error handling