My effort for vector