following pattern but not working
static method working