finished assignment but not working from browser