changed an i that should have been k. did not fix problem though