working version with kilos