added CGVector stuff