Updated doctype
Updated template
Fixed boundary bug.