Got tail working, scaling working; pieces come next!