break selector into different components