prova a dare un'occhiata a questa discussione, ti potrà dare qualche utile spunto.