version 1 with documentation