value passed but need to fix bracket problem