integrated into one window and outputs coords again