changed some parameters and modified part choosing