this is a cleaner appraoach. if it works.