Incomplete version of action sub generator