bit nicer bezier stuff