working url and printing objects from different window