implemented functional command system