copied and modified files from mslemon to make skeleton