Added init() function; changed default args