Slam kode fix part1