removed uncessary variables