added init
added potential search