breaking out the steps for testing