code syntax adaption