todos; vector functions organized; more bool functions added