The purpose of assessing needs is to: