properly scope