Added command method pattern