added beizer curve