added stuffs from the deleted curve repos (fitting up to date)