Write function allows to write strings earlier