added retrieve Representaion method and test