added remote functionality