writing basic codestuffs