Added init method without frame