added explaination for ~ syntax