updated MethodQueue to work better.