Trying to get rid of errors