add Common Code