made some method static to easily build components