inline writes & shorten init