moved retreive method to a regular method