including it correctly, now just need to fix scope