fixed output and updated styles