add helper methods for instance variables
add helper method spec for instance variables