Added parameters and added to main view