forgot to pass in an important variable...