changed main for better benchmark methods