Making a simple bat detector