Developing Screen Capture Function