moved code to active users