added lukes code