updated constructor visibility in logical AND token and replaced ```join``` with ```implode``` for consistency