added boolean indexing and misc functions