improved interface for 3rd version. created bootstrap library for 4th