imp some extra functions for particles