THEORY TEST ON USER DEFINED METHOD