added helpers and ajax stuff