methods instead of calling from init