add function to get css property