separate style selector into separate object