added more extension methods