Simple writing implementation and variables implemention