added everything into document ready