adding all code