resolved more compiler errors, DON'T use &x if x is already the needed pointer