2 of the same methods combined into 1