adds code
removes __construct
fixes misnamed method
adds examples