created model for entry