Setting correct caps