changing to use variables over hardcoding