Dev

Fix apply method