Extract it to a method