written in part by bear