3.1
Merged Alberto and Bastiaan's answers