New approach using vectors