updated for using css