Getting data to singleton.