deprecated some methods