consolidated methods in one class