added style changing feature