some counting errors. dunno