works with new rosjs stuff