corrected some codes requested by Meatballs