added RunLoop lib to wrapper