removing const qualifiers in headers file