added steps one through four