working on init() call function