fixes #21 better syntax

fixes #21 better syntax