removed all of the errors, still warnings though