makes  in build content function an optional variable to prevent php error.