more functions added in shader helper