just need to fix begin scope