Mainly code is worked