unfunction gent() since its becoming too large.. will make a script instead