added function
Removed first duplicate  method
removed function
Resolved by removing method and add curly brace at the end