now trying to get ajax working