Figured out part of the problem