adding OOP-style methods