inset moved to separate class