Added count parameter, shortened motor tabs.