split methods in two