okay that won't work :(
ughhhhh having to append to top of api.c - this will HAVE to be maintained :( :( :(