added exception handling to bp create