accept options + add documentation