playing with ruby private method