created handlers to run for diffrent versions