Added constructor and x/o styling