refactored: crapi example