added $ function to properties