removing the function, sticking with basic code