added styling change and server methods