added new style
created another function