move extension method into different files