added on load method