tweaked a bit for myself, check on why repeat doesnt seemt to be working