Use constructor instead of init