integrating PC to main activity