write it properly