The present invention relates to the generation and production of novel thermostable, organic solvent stable and pH tolerant lipase gene variants. The invention also relates to methods of selecting lipase variants for high temperatures and for their purification.