fancy way of declaring simple methods?