use delete_if and start_with? methods