what the heck, why was that so complicated...