added needed methods