added new styles and behaviour