Hard gamma ray emission from blazars